<template>
  <div class="cover-container">
    <div class="cover-img">
      <img width="100%" height="100%" src="/static/image/carousel-1.jpg" />
    </div>
      <div class="text-box">
        <h3>TRANSPORT &amp; LONGISTICS SOLUTION</h3>
        <h2>#1 Place For Your <span>Longistics</span> Solution</h2>
        <p>Vero elitr justo clita lorem. Ipsum dolor at sed stet sit diam no. Kasd rebum ipsum et diam justo clita et kasd rebum sea elitr.</p>
      </div>
      <div class="button-box">
        <div class="cover-base-btn">Read More</div>
        <div class="cover-base-btn blue-btn">Free Quote</div>
      </div>
    </div>
</template>

<script setup></script>


<style lang="scss" scoped>
$header-height: 67px;
$base-color: #ff3e41;
.cover-container {
  position: relative;
  width: 100%;
  height: calc(100vh - $header-height);
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: white;
  text-align: left;
  overflow: hidden;

  .text-box {
    width: 100%;
    box-sizing: border-box;
    padding-left: 16%;
    margin-bottom: 32px;

    h3 {
      font-size: 16px;
      margin-bottom: 17px;
    }

    h2 {
      width: 670px;
      line-height: 57px;
      font-size: 48px;
      margin-bottom: 32px;

      span {
        color: $base-color;
      }
    }

    p {
      width: 720px; 
      line-height: 27px;
      font-size: 18px;
    }
  }

  .button-box {
    margin-left: 16%;
    display: flex;

    .cover-base-btn {
      width: 170px;
      line-height: 57px;
      text-align: center;
      margin-right: 24px;
      background-color: $base-color;
      cursor: pointer;
    }

    .blue-btn {
      background-color: #51CFED;
    }
  }

  .cover-img {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: -1;
    top: 0;
    left: 0;
    /*background-image: url('static/image/carousel-1.jpg');*/
    background-size: cover;
    background-position: center;
    filter: brightness(.65);
  }
}
</style>
